package com.hy.common.log.eventbus;

import cn.hutool.core.util.IdUtil;
import com.hy.entity.dto.SmsMsgReceiveDTO;
import com.hy.entity.dto.SmsMsgSendDTO;
import lombok.Builder;
import lombok.Getter;

@Getter
public class SmsEvent extends BaseEvent{

    private SmsMsgSendDTO smsMsgSendDTO;
    private SmsMsgReceiveDTO receiveDTO;

    @Builder
    public SmsEvent(SmsMsgSendDTO smsMsgSendDTO, SmsMsgReceiveDTO receiveDTO,String eventName) {
        super(IdUtil.objectId(), eventName);
        this.smsMsgSendDTO=smsMsgSendDTO;
        this.receiveDTO=receiveDTO;
    }

}
